package com.yc.boot.log.model.find;

import com.yc.boot.common.model.base.BasePageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author 杨智杰
 * @since 2021/11/19 9:16
 */
@Data
@Accessors(chain = true)
@ApiModel("业务日志查询条件数据模型")
public class FindWorkLogPage extends BasePageQuery {

    @ApiModelProperty("是否只查询当前登录用户(默认true)")
    private Boolean login = true;

    @ApiModelProperty("根据Id精准查询")
    private Long id;

    @ApiModelProperty("根据用户Id精准查询")
    private Long createBy;

    @ApiModelProperty("根据日志内容模糊查询")
    private String param;

    @ApiModelProperty("开始时间")
    private String beginTime;

    @ApiModelProperty("结束时间")
    private String endTime;
}
